﻿using System;
using System.Collections.Generic;
using InvestmentIntelligence.DbModel.Models;

namespace InvestmentIntelligence.Data.Repository
{
    public interface ISqlExcessTimeSerieRepository
    {
        List<ExcessTimeSerieAdbInfo> GetAdbInfos(int securityId, int fundBookId, DateTime startDate, DateTime endDate);
        ExcessTimeSerieAdbInfo GetPrevAdbInfo(int securityId, int fundBookId, DateTime date);
        List<ExcessTimeSerieAdbInfo> EnumerateBackward(int securityId, int fundBookId, DateTime fromDate);
        List<ExcessTimeSerieAdbInfo> EnumerateForward(int securityId, int fundBookId, DateTime fromDate);
        List<TraceReturnAdbInfo> GetExcessReturns(int securityId, int benchmarkId, DateTime eventDate, int priorWindow, int postWindow);
    }
}
